package com.tsd.system.service;

import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysExtSysUser;
import com.tsd.system.entity.SysExtSysUserExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：SysExtSysUser服务实现层接口
 *
 * @author huawei
 * @date 2021/07/18 10:53:52
 */
public interface SysExtSysUserService {

    /**
     * 描述：根据sid获取SysExtSysUser
     *
     * @param sid
     */
    SysExtSysUserExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据id删除SysExtSysUser
     *
     * @param list
     */
    void deleteSysExtSysUser(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新SysExtSysUser
     *
     * @param record
     * @param opUser
     */
    void saveSysExtSysUser(SysExtSysUserExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询SysExtSysUser
     *
     * @param params
     * @param page
     */
    List<SysExtSysUserExt> findSysExtSysUsers(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询SysExtSysUser
     *
     * @param params
     */
    List<SysExtSysUserExt> findSysExtSysUsers(Map<String, Object> params) throws Exception;

    SysExtSysUserExt queryByExtSysNameOpenId(Map<String, Object> params) throws Exception;

    List<SysExtSysUserExt> findSysExtSysUsersByUserSid(String user_sid) throws Exception;
}